package org.genntii.smdomain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SteamPlayerResult {
    private Long steamid;
    @JsonProperty("userid")
    private Long userId;
    @JsonProperty("communityvisibilitystate")
    private Integer communityVisibilityState;
    @JsonProperty("profilestate")
    private Integer profileState;
    @JsonProperty("personaname")
    private String personaName;
    @JsonProperty("commentpermission")
    private Integer commentPermission;
    @JsonProperty("profileurl")
    private String profileUrl;
    @JsonProperty("avatar")
    private String avatar;
    @JsonProperty("avatarmedium")
    private String avatarMedium;
    @JsonProperty("avatarfull")
    private String avatarFull;
    @JsonProperty("lastlogoff")
    private Integer lastLogOff;
    @JsonProperty("personastate")
    private Integer personaState;
    @JsonProperty("realname")
    private String realName;
    @JsonProperty("primaryclanid")
    private String primaryClanId;
    @JsonProperty("timecreated")
    private Integer timeCreated;
    @JsonProperty("personastateflags")
    private Integer personaStateFlags;
    @JsonProperty("logcountrycode")
    private String locCountryCode;
    @JsonProperty("locstatecode")
    private String locStateCode;
    @JsonProperty("loccityid")
    private Integer locCityId;
    @JsonProperty("updatetime")
    private LocalDateTime updateTime;
}
